package com.china08.yxyapi.schedule.continuedu;

import java.util.HashMap;
import java.util.Map;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import com.china08.yxyapi.util.RabbitMqSendUtil;

@Component
public class ContinueduTaskStatus {

    /**
     * 每天一点触发
     */
    @Scheduled(cron = "0 0 1 * * ?")
    public void continueduTask() {
        Map<String, Object> map = new HashMap<String, Object>();
        RabbitMqSendUtil.userTaskUpd(map);
    }
}
